package main

import "fmt"

type person struct {
	name string
	age int
}

func main() {
	fmt.Println(person{"boy",12})


	fmt.Println(person{name:"hls",age:12})

	fmt.Println(person{name:"pp"})

	fmt.Println(&person{"ann",70})


	s:=person{name:"huangliusng",age:66}

	fmt.Println(s.name)

	sp:=&s
	fmt.Println(sp.age)

	sp.age=88
	fmt.Println(sp.age)
}
